package com.famdoc.Service;


import com.famdoc.Pojo.dto.CheckForm;
import com.famdoc.Pojo.dto.Result;
import com.famdoc.Pojo.entity.CheckItem;
import com.famdoc.Pojo.entity.Doctor;
import com.famdoc.Pojo.entity.Patient;

import java.io.InputStream;
import java.time.LocalDateTime;
import java.util.List;

public interface PatientService {

    Result addCheck(CheckForm checkForm);
    Result selectPatient(Integer page, Integer pageSize, Integer doctor_id, String name, String idNumber, String phoneNumber);

    Result deleteCheck(Integer checkItem_id);
    List<CheckForm> selectCheckItem(Integer id);
    Result updateCheckItem(CheckItem checkItem );

    Result count(String diseaseName,String startingTime ,String endingTime);

    Result selectArchiveDetail(Integer page, Integer pageSize,String diseaseName);

    List<Patient> downloadPatientInfo();

    Result uploadPatientInfo(List<Patient> list);

    Integer UP(Patient patient);

    public List<Patient> list(InputStream inputStream);
}
